package com.blockmeta.bbs.immodule.bean;

import java.util.List;

/**
 * Created by author on 2019/4/11.
 */

public class Test {

    /**
     * data : [{"id":1,"ip":"192.168.12.57","name":"chatserver01","online":true,"out_ip":"47.111.26.13","port":"9989"},{"id":2,"ip":"192.168.12.57","name":"chatserver03","online":true,"out_ip":"47.111.26.13","port":"9991"},{"id":3,"ip":"192.168.12.57","name":"chatserver02","online":true,"out_ip":"47.111.26.13","port":"9990"}]
     * message :
     * success : true
     */

    private String message;
    private boolean success;
    private List<DataBean> data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * ip : 192.168.12.57
         * name : chatserver01
         * online : true
         * out_ip : 47.111.26.13
         * port : 9989
         */

        private int id;
        private String ip;
        private String name;
        private boolean online;
        private String out_ip;
        private String port;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public boolean isOnline() {
            return online;
        }

        public void setOnline(boolean online) {
            this.online = online;
        }

        public String getOut_ip() {
            return out_ip;
        }

        public void setOut_ip(String out_ip) {
            this.out_ip = out_ip;
        }

        public String getPort() {
            return port;
        }

        public void setPort(String port) {
            this.port = port;
        }
    }
}
